package com.why.blog.dao;


import com.why.blog.bean.RequsetLog;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @program: blog
 * @description:保存查看博客的人的id地址
 * @author: @why
 * @create: 2020-10-19 08:30
 **/
@Mapper
@Repository
public interface requestSave {
    //检测是否登录过
    RequsetLog checkIp(String ip);

    //保存登录者的ip
    void saveIp(RequsetLog requsetLog);
}
